package com.zxx.autohomenavi.page_json;

import com.zxx.autohomenavi.R;
import com.zxx.autohomenavi.page_json.LottieTabActivity;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Json动画
 */
public class MainActivity extends LottieTabActivity {

    @Override
    public Map<String, String> getTabs() {
        Map<String, String> map = new LinkedHashMap<>();
        map.put("首页", "tab_article.json");
        map.put("论坛", "tab_club.json");
        map.put("选车", "tab_car.json");
        map.put("新车特卖", "tab_used_car.json");
        map.put("我", "tab_me.json");
        return map;
    }

    @Override
    public int getTabLayoutId() {
        return R.layout.activity_main;
    }

}
